<div class="modal fade" id="{{$modalId}}" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="myModalLabel">{{$modalTitle}}</h4>
                </div>
                
            <form class="form-horizontal" action="{{$actionUrl}}" method="{{$method ?? 'GET'}}">
                        @csrf
                       {{$slot}} 
                       
            </div>
        </div>
    </div>